<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>organization appendChild</title>
    <link rel="stylesheet" th:href="@{/css/css.css}">
</head>
<body>
<form id="form" method="post" action="">
    <input type="hidden" name="id" th:value="${child.id}">
    <input type="hidden" name="parentId" th:value="${child.parentId}">
    <input type="hidden" name="parentIds" th:value="${child.parentIds}">
    <input type="hidden" name="available" th:value="${child.available}">

    <div class="form-group">
        <table>
            <tr>
                <th><label>父节点名称:</label></th>
                <td><p th:text="${parent.name}"></p></td>
            </tr>

            <tr>
                <th><label>子节点名称:</label></th>
                <td><input type="text" name="name"></td>
            </tr>

            <tr>
                <td colspan="2"><input type="button" value="新增子节点"></td>
            </tr>
        </table>
    </div>

</form>

</body>
</html>